package com.Interface.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.Interface.dao.VoteInfoMapper;

@Service
public class VoteInfoService {

	@Autowired
	VoteInfoMapper voteInfoDao;
	
	public List<Map<String, Object>> selectByTopicId(int topicId){
		return voteInfoDao.selectByTopicId(topicId);
	}
}
